<div class="form">
<FORM method="post" action="/backend/partners/save/" onsubmit="$('n_description').value=CKEDITOR.instances['n_description'].getData();">
    <H1>Редактирование партнера</H1>
    <div class="operation">
    	<a href="{$fvConfig->get('dir_web_root')}partners/" onclick="go('{$fvConfig->get('dir_web_root')}partners/'); return false;" class="left">вернутся к списку</a>
    	<div style="clear: both;"></div>
    </div>
    <fieldset>
        <legend>Общая информация</legend>
   		<table>
			<tr>
        		<td><label>Название:</label></td>
        		<td>
					<input type="text" name="n[name]" id=name value="{$Partner->name|escape|stripslashes}">
				</td>
        	</tr>
        	<tr>
        		<td><label for="link">Описание:</label></td>
        		<td style="padding: 2px 2px 10px 10px;">{$editor}</td>
        	</tr>
    	</table>
    </fieldset>
    <div class="buttonpanel">
        <input type="submit" name="save" value="Сохранить" class="button"  onclick="$('redirect').value = '';">
        <input type="submit" name="save_and_return" value="Сохранить и выйти" class="button" onclick="$('redirect').value = '1';">
    </div>
    <input type="hidden" name="id" id="id" value="{$Partner->getPk()}" />
    <input type="hidden" id="redirect" name="redirect" value="" />
</form>
</div>